from order.models import OrderModel,OrderDetialModel
from rest_framework import serializers

class OrderSerializer(serializers.ModelSerializer):
    class Meta:
        model = OrderModel
        fields = "__all__"
class OrderDetialSerializer(serializers.ModelSerializer):
    class Meta:
        model = OrderDetialModel
        fields = "__all__"